<template>
<el-breadcrumb separator="/">
    <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item><a href="#">{{router.currentRoute.value.name}}</a></el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script lang="ts" setup>
import { useRouter } from 'vue-router'
 const router = useRouter()
 import { onMounted } from 'vue';
 onMounted(()=>{
   console.log();
   
   
 })

</script>